package com.hptpd.questionnairesurvey.repository;

import com.hptpd.questionnairesurvey.domain.question.SingleChoiceQuestion;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 *
 * @author YMHUI
 */
@Repository("singleChoiceRep")
public interface SingleChoiceRep extends JpaRepository<SingleChoiceQuestion, String> {
    /**
     * 根据id查询单选题
     *
     * @param id
     * @return
     */
    SingleChoiceQuestion getSingleChoiceQuestionById(String id);
}
